<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		<style>
			div {
				width: 400px;
				height: 400px;
				background-color: pink;
			}
			div::before {
				content: "老鼠";
				width: 100px;
				height: 100px;
				background-color: red;
				display: block;
			}
			div::after {
				/* content: "大米"; */
				width: 100px;
				height: 100px;
				background-color: blue;
				display: inline-block;
			}
		</style>
	</head>
	<body>
		<div>爱</div>
	</body>
</html>